﻿@using NOAH.CMS.Repository;
@using NOAH.CMS.Cache;


@{
    Layout = null;
}

@*@{
    foreach (NewsCategory cate in cates)
    {
        List<NewsArticle> news = repository.GetByCategory(cate.ID, 4);
    <text>
    <div class="cate">
        <div class="cate-title">
            <a href="@cate.SEOLink" title="@cate.Name" rel="nofollow">
                @cate.Name</a>
        </div>
        <div class="cate-content group">

            @foreach (NewsArticle c in news)
            {
                <div class="ite">
                    <img alt="" src="@c.Link?w=192&h=126&bgcolor=white&404=default&scale=canvas" />
                    <a title="@c.Name" rel="nofollow" href="@c.SEOLink">
                        @Util.ShortentString2(c.Name, 30)  </a>
                </div>
            }

        </div>
    </div>
    </text>
    }}*@
